package project.hulpPakket;

import java.util.HashMap;

import project.newCode.*;

/**
 * Currently i'm still thinking this should be a graph
 * @author roel
 *
 */
public class Scene {
	private HashMap<String,Material> materials = new HashMap<String,Material>();
	private HashMap<String,Light> lights = new HashMap<String,Light>();
	private HashMap<String, Camera> cameras = new HashMap<String,Camera>();
	private HashMap<String, Surface> surfaces = new HashMap<String,Surface>();
	
	public Scene() {
		
	}
	
	public void addMaterial(String name,Material m) {
		materials.put(name, m);
	}
	
	public Material getMaterial(String name) {
		return materials.get(name);
	}
	
	public void addLight(String name, Light l) {
		lights.put(name, l);
	}
	
	public void addCamera(String name, Camera c) {
		cameras.put(name, c);
	}
	
	public void addSurface(String name, Surface s) {
		surfaces.put(name, s);
	}

	public void print() {
		System.out.println("materials");
		System.out.println(materials.toString());
	}
	
}
